package com.lgkj.bean.meitao;

import java.util.List;

/**
 * Created by Administrator on 2018/12/21 0021.
 */

public class SearchGoods {

    /**
     * code : 0
     * msg : 操作成功
     * data : {"total":1,"per_page":"10","current_page":1,"last_page":1,"data":[{"id":"239","type_id":"4","goods_name":"玻尿酸植物原液面膜（权限 1盒/周）","goods_describe":"会员权益：每周限免费领取面膜1盒（不累计叠加按周申领发货），快递费按区域性收取（每次在商城购买满150元免本次面膜快递费）。另享受商城购物终身会员价。","goods_content":[{"url":"http://mdyt.lianguangtech.com/upload/picture/20181213/c0ecb07dce9763a59f7621aaba8fd8e4.jpg","height":3162,"width":1080,"id":252},{"url":"http://mdyt.lianguangtech.com/upload/picture/20181213/08ad72c6d6ec533e4d01a2762644cbf4.jpg","height":3197,"width":1080,"id":253},{"url":"http://mdyt.lianguangtech.com/upload/picture/20181213/43238b5353a715a8034ddd6985719c0e.jpg","height":3215,"width":1080,"id":254},{"url":"http://mdyt.lianguangtech.com/upload/picture/20181213/d6b2e32e198e7c8b42fe648010fffd7d.jpg","height":3339,"width":1080,"id":255},{"url":"http://mdyt.lianguangtech.com/upload/picture/20181213/ef536f7575046917a1b5d455339036ac.jpg","height":3215,"width":1080,"id":256},{"url":"http://mdyt.lianguangtech.com/upload/picture/20181213/f2960f5976d217c8b14a7836b75a4c0c.jpg","height":2604,"width":1080,"id":257}],"postage":"18.00","sales":"165242","photos":["http://mdyt.lianguangtech.com/upload/picture/20181214/a88bb1e79af61d8f5acd03f997c016e4.jpg"],"new_cover_id":"http://mdyt.lianguangtech.com/upload/picture/20181214/086df582114ad96482c25460c89faa35.jpg","reg_level":"0","is_new":"0","is_hot":"0","create_time":"2018-11-19 14:46:29","update_time":"2018-12-14 15:40:24","status":"1","old_price":"399.00","price":"0.00"}]}
     * exe_time : 0.005260
     */

    private int code;
    private String msg;
    private DataBeanX data;
    private String exe_time;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public String getExe_time() {
        return exe_time;
    }

    public void setExe_time(String exe_time) {
        this.exe_time = exe_time;
    }

    public static class DataBeanX {
        /**
         * total : 1
         * per_page : 10
         * current_page : 1
         * last_page : 1
         * data : [{"id":"239","type_id":"4","goods_name":"玻尿酸植物原液面膜（权限 1盒/周）","goods_describe":"会员权益：每周限免费领取面膜1盒（不累计叠加按周申领发货），快递费按区域性收取（每次在商城购买满150元免本次面膜快递费）。另享受商城购物终身会员价。","goods_content":[{"url":"http://mdyt.lianguangtech.com/upload/picture/20181213/c0ecb07dce9763a59f7621aaba8fd8e4.jpg","height":3162,"width":1080,"id":252},{"url":"http://mdyt.lianguangtech.com/upload/picture/20181213/08ad72c6d6ec533e4d01a2762644cbf4.jpg","height":3197,"width":1080,"id":253},{"url":"http://mdyt.lianguangtech.com/upload/picture/20181213/43238b5353a715a8034ddd6985719c0e.jpg","height":3215,"width":1080,"id":254},{"url":"http://mdyt.lianguangtech.com/upload/picture/20181213/d6b2e32e198e7c8b42fe648010fffd7d.jpg","height":3339,"width":1080,"id":255},{"url":"http://mdyt.lianguangtech.com/upload/picture/20181213/ef536f7575046917a1b5d455339036ac.jpg","height":3215,"width":1080,"id":256},{"url":"http://mdyt.lianguangtech.com/upload/picture/20181213/f2960f5976d217c8b14a7836b75a4c0c.jpg","height":2604,"width":1080,"id":257}],"postage":"18.00","sales":"165242","photos":["http://mdyt.lianguangtech.com/upload/picture/20181214/a88bb1e79af61d8f5acd03f997c016e4.jpg"],"new_cover_id":"http://mdyt.lianguangtech.com/upload/picture/20181214/086df582114ad96482c25460c89faa35.jpg","reg_level":"0","is_new":"0","is_hot":"0","create_time":"2018-11-19 14:46:29","update_time":"2018-12-14 15:40:24","status":"1","old_price":"399.00","price":"0.00"}]
         */

        private int total;
        private String per_page;
        private int current_page;
        private int last_page;
        private List<DataBean> data;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public String getPer_page() {
            return per_page;
        }

        public void setPer_page(String per_page) {
            this.per_page = per_page;
        }

        public int getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(int current_page) {
            this.current_page = current_page;
        }

        public int getLast_page() {
            return last_page;
        }

        public void setLast_page(int last_page) {
            this.last_page = last_page;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * id : 239
             * type_id : 4
             * goods_name : 玻尿酸植物原液面膜（权限 1盒/周）
             * goods_describe : 会员权益：每周限免费领取面膜1盒（不累计叠加按周申领发货），快递费按区域性收取（每次在商城购买满150元免本次面膜快递费）。另享受商城购物终身会员价。
             * goods_content : [{"url":"http://mdyt.lianguangtech.com/upload/picture/20181213/c0ecb07dce9763a59f7621aaba8fd8e4.jpg","height":3162,"width":1080,"id":252},{"url":"http://mdyt.lianguangtech.com/upload/picture/20181213/08ad72c6d6ec533e4d01a2762644cbf4.jpg","height":3197,"width":1080,"id":253},{"url":"http://mdyt.lianguangtech.com/upload/picture/20181213/43238b5353a715a8034ddd6985719c0e.jpg","height":3215,"width":1080,"id":254},{"url":"http://mdyt.lianguangtech.com/upload/picture/20181213/d6b2e32e198e7c8b42fe648010fffd7d.jpg","height":3339,"width":1080,"id":255},{"url":"http://mdyt.lianguangtech.com/upload/picture/20181213/ef536f7575046917a1b5d455339036ac.jpg","height":3215,"width":1080,"id":256},{"url":"http://mdyt.lianguangtech.com/upload/picture/20181213/f2960f5976d217c8b14a7836b75a4c0c.jpg","height":2604,"width":1080,"id":257}]
             * postage : 18.00
             * sales : 165242
             * photos : ["http://mdyt.lianguangtech.com/upload/picture/20181214/a88bb1e79af61d8f5acd03f997c016e4.jpg"]
             * new_cover_id : http://mdyt.lianguangtech.com/upload/picture/20181214/086df582114ad96482c25460c89faa35.jpg
             * reg_level : 0
             * is_new : 0
             * is_hot : 0
             * create_time : 2018-11-19 14:46:29
             * update_time : 2018-12-14 15:40:24
             * status : 1
             * old_price : 399.00
             * price : 0.00
             */

            private String id;
            private String type_id;
            private String goods_name;
            private String goods_describe;
            private String postage;
            private String sales;
            private String new_cover_id;
            private String reg_level;
            private String is_new;
            private String is_hot;
            private String create_time;
            private String update_time;
            private String status;
            private String old_price;
            private String price;
            private List<GoodsContentBean> goods_content;
            private List<String> photos;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getType_id() {
                return type_id;
            }

            public void setType_id(String type_id) {
                this.type_id = type_id;
            }

            public String getGoods_name() {
                return goods_name;
            }

            public void setGoods_name(String goods_name) {
                this.goods_name = goods_name;
            }

            public String getGoods_describe() {
                return goods_describe;
            }

            public void setGoods_describe(String goods_describe) {
                this.goods_describe = goods_describe;
            }

            public String getPostage() {
                return postage;
            }

            public void setPostage(String postage) {
                this.postage = postage;
            }

            public String getSales() {
                return sales;
            }

            public void setSales(String sales) {
                this.sales = sales;
            }

            public String getNew_cover_id() {
                return new_cover_id;
            }

            public void setNew_cover_id(String new_cover_id) {
                this.new_cover_id = new_cover_id;
            }

            public String getReg_level() {
                return reg_level;
            }

            public void setReg_level(String reg_level) {
                this.reg_level = reg_level;
            }

            public String getIs_new() {
                return is_new;
            }

            public void setIs_new(String is_new) {
                this.is_new = is_new;
            }

            public String getIs_hot() {
                return is_hot;
            }

            public void setIs_hot(String is_hot) {
                this.is_hot = is_hot;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public String getUpdate_time() {
                return update_time;
            }

            public void setUpdate_time(String update_time) {
                this.update_time = update_time;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getOld_price() {
                return old_price;
            }

            public void setOld_price(String old_price) {
                this.old_price = old_price;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public List<GoodsContentBean> getGoods_content() {
                return goods_content;
            }

            public void setGoods_content(List<GoodsContentBean> goods_content) {
                this.goods_content = goods_content;
            }

            public List<String> getPhotos() {
                return photos;
            }

            public void setPhotos(List<String> photos) {
                this.photos = photos;
            }

            public static class GoodsContentBean {
                /**
                 * url : http://mdyt.lianguangtech.com/upload/picture/20181213/c0ecb07dce9763a59f7621aaba8fd8e4.jpg
                 * height : 3162
                 * width : 1080
                 * id : 252
                 */

                private String url;
                private int height;
                private int width;
                private int id;

                public String getUrl() {
                    return url;
                }

                public void setUrl(String url) {
                    this.url = url;
                }

                public int getHeight() {
                    return height;
                }

                public void setHeight(int height) {
                    this.height = height;
                }

                public int getWidth() {
                    return width;
                }

                public void setWidth(int width) {
                    this.width = width;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }
            }
        }
    }
}
